[SUBROUTINE]
version = 1.14
icon = poly-repeat-items.png
name = _("Repeated")
type = plinerepeat
help = _("<b>Repeat polyline items</b>")
order = act num items

[PARAM_ITEMS]
name = _("Items")
type = items
icon = items.png
tool_tip = _("Add polyline items to repeat")

[PARAM_NUM]
name = _("Repeat")
type = int
minimum_value = 1
icon = copies.png
tool_tip = _("Number of repetition")
value = 1

[PARAM_ACT]
name = _("Active")
icon = enable.png
type = bool
value = 1
tool_tip = _("Disabling will disable ALL items in group")


[BEFORE]
content =
	(begin #sub_name)
	(repeated polyline items author : Fernand Veilleux)
	o<#self_id_active> if [#param_act]
		o<#self_id0> repeat [#param_num]
		
		(begin #sub_name items)

[AFTER]
content =
		(end #sub_name items)
		
		o<#self_id0> endrepeat
	o<#self_id_active> endif
	(end #sub_name)

